package com.yqb.study.constant.key.redis;

/**
 * 用于给各个存入redis中的bean对象设置统一前缀
 * 例如订单对象可以通过该过期时间设置订单多长时间未支付即失效
 */
public class CityRedisKey extends BasePrefix {
	
	// redis中存放该变量的key对应过期秒数
	public static final int EXPIRE_TIME = 60;
	
	private CityRedisKey(int expireSeconds, String prefix) {
		super(expireSeconds, prefix);
	}

	public static CityRedisKey cityBean = new CityRedisKey(EXPIRE_TIME, "city_bean_");
//	public static DictKey getById = new DictKey("id");
//	public static DictKey getByName = new DictKey("name");
}
